// C++ author 清晨与猫鱼
#include <iostream>
#include <string>
#include "Realize.h"

using namespace std;

int main(const int argc, const char** argv)
{	
    // 储存器
	NameRepository namesRepository;

    // 获取存储器的迭代器
    unique_ptr<Iterator> it(namesRepository.getIterator());

    // 迭代器遍历
     for (; it->hasNext(); ) {
         cout << *it->next() << endl;
     }
}